package org.mango.service;

import org.mango.bean.Grid;

import java.util.List;
import java.util.Map;

/**
 * Created by meigang on 17/10/14.
 */
public interface GridService {

    List<Grid> list(Map<String, Object> map);

    void add(Grid obj);

    Grid getById(String id);

    void update(Grid obj);

    void delete(String id);

    void updateShow(Grid grid);

    List<Grid> listRandom(Map<String, Object> map);
}
